package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2023/10/24 16:54
 */
@Table(name = "t_role_message")
@TableName(value = "t_role_message")
@Getter
@Setter
public class RoleMessageEntity{

    /**
     * 系统id
     */
    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 子程序名称
     */
    @Column(name = "role_name", type = MySqlTypeConstant.VARCHAR, length = 150)
    @TableField(value = "role_name")
    private String roleName;

    /**
     * 子程序名称
     */
    @Column(name = "message_type", type = MySqlTypeConstant.TINYINT)
    @TableField(value = "message_type")
    private Integer messageType;
}
